<?php
//连接数据库
$dbc = mysqli_connect('localhost','root','root','userdite');
//var_dump($dbc);

 mysqli_set_charset($dbc, 'utf8');
 $query = 'SELECT *FROM `user`LIMIT 0 , 30';
 //$query1 = 'SELECT *FROM `uemail`LIMIT 0 , 30';
 $result = mysqli_query($dbc, $query);
 //$result1 = mysqli_query($dbc, $query1);
 //var_dump($result);

 echo "<table border=1>";
 while ($row = mysqli_fetch_array($result)) {
   //var_dump($row['uid']);
    echo '<tr><td>'.$row['uid'].'</td></tr>';
    echo '<tr><td>'.$row['uemail'].'</td></tr>';
}

echo "</table>";
?>